/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.fiap.exemplo;

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

/**
 *
 * @author rm64596
 */

@WebServlet(urlPatterns="/controler")
public class UsoDaSessao extends HttpServlet{

    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        
        //HttpSession session = req.getSession();
        
        
        
                
    }
    
    private String montarhtml(String historico)
    {
        String html = "<html><body>";
        
        html+="<from action ='./comtroler'method='POST'>";
                
        html+= "<textarea name = 'textoDigitado' ></textarea>";
        html+= "<input type = 'submit' value ='enviar'>";
        html+="<>";
                
        return html;
        
        
    }
    
    
    
}
